package com.cordershy.mapper;

import com.cordershy.pojo.pay;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface payMapper {
    List<pay> selectAll();
    List<pay> selectByDate(@Param("paymonth") String paymonth, @Param("payyear") String payyear,@Param("username") String username);
    pay select(int payid);
    int delete(int payid);
    int insert(pay pay);
    int update(pay pay);
}
